package com.sl.biz.modular.process.service;


import cn.hutool.core.lang.tree.Tree;
import com.sl.biz.modular.process.controller.request.ProcessCompGetByIdRequest;
import com.sl.biz.modular.process.dao.domain.dto.ProcessCompDTO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessCompDO;

import java.util.List;

public interface ProcessCompBizService {

    List<ProcessCompDTO> list(ProcessCompDO processComp);

    Boolean save(ProcessCompDO processComp);


    ProcessCompDTO getById(ProcessCompGetByIdRequest addRequest);

    Boolean removeById(ProcessCompDO processComp);

    List<Tree<String>> groupTree();

}
